/*top20及搜索部分样式*/
#book_search{
    margin-top: 1rem;
}

#book-search-box{
    position: relative;
    margin: 1rem 0;
}

#book-search-btn{
    position: absolute;
    top: 30%;
    right: 0%;
}
#book-search-waiting{
    display: none;
}

#book-search-result-box{
    text-align: center;
}

.book-search-result-card{
    box-sizing: border-box;
    width: 18%;
    display: inline-block;
    position: relative;
    text-align: right;
}

.book-search-result-img{
    width: 100%;
    height: 15rem;
}

.book-search-result-title{
    color: #1A237E;
    font-family: "Microsoft YaHei";
    font-size: 1rem;
    max-width: 3rem;
}

.book-search-result-author{
    color: #1A237E;
    font-family: "Microsoft YaHei";
    font-size: 0.75rem;
    max-width: 5rem;
}

.book-search-result-play-btn{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    display: none;
}

#book-first-content-box,
#book-second-content-box,
#book-third-content-box,
#book-forth-content-box{
    text-align: center;
}

/*图书详情样式*/
.book-detail-box{
    position: relative;
    font-family: "Microsoft YaHei";
}

.book-detail-img{
    width: 50%;
}

.book-detail-title{
    font-size: 3rem;
    position: absolute;
    top: 1rem;
    right: 1rem;
    max-width: 18rem;
}

.book-detail-author{
    font-size: 1rem;
    position: absolute;
    top: 5rem;
    right: 1rem;
}

.book-detail-rating{
    font-size: 1rem;
    position: absolute;
    top: 6.5rem;
    right: 1rem;
}

/*1440以上内容占页面一半*/
@media screen and (min-width: 2400px) (max-width: 3000px){
    .book-search-result-img{
        height: 16rem;
    }
}

@media screen and (min-width: 1920px) and (max-width: 2400px){
    .book-search-result-img{
        height: 13rem;
    }
}

@media screen and (min-width: 1440px) and (max-width: 1920px){
    .book-search-result-img{
        height: 10rem;
    }
}

/*1440以下内容占满页面*/
@media screen and (min-width: 1280px) and (max-width: 1440px){
    .book-search-result-img{
        height: 12rem;
    }
}

@media screen and (min-width: 960px) and (max-width: 1280px){
    .book-search-result-img{
        height: 10rem;
    }
}

@media screen and (min-width: 600px) and (max-width: 960px){
    .book-search-result-img{
        height: 8rem;
    }
}
